#!/bin/bash

# exporter

log_path=./logs
mkdir -p $log_path

address=0.0.0.0:9091

(

export DATA_SOURCE_NAME="host=127.0.0.1 port=5236 user=sysdba password=xxxxx dbname=highgo sslmode=disable"
echo $DATA_SOURCE_NAME
./highgo_exporter --config=./highgo.yml --web.listen-address=${address} --disable-settings-metrics --log.level debug

) >> ./logs/exporter.log 2>&1 &




